package com.cai.seckill.service;

import com.cai.seckill.common.vo.LoginVo;
import com.cai.seckill.common.vo.RespBean;
import com.cai.seckill.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author Uli1024
 * @since 2022-08-04
 */
public interface UserService extends IService<User> {

    RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);


    User getUserByTicket(String userTicket, HttpServletRequest request, HttpServletResponse response);

}
